package com.javaweb.service.system.api;

import com.javaweb.service.system.common.RemoteHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @program: javaweb
 * @description:
 * @author: Mr.Run
 * @create: 2021-08-05 22:21
 **/

@FeignClient(name = "test-nacos-provider", fallback = RemoteHystrix.class)
public interface RemoteClient {

    @GetMapping("/helloNacos")
    String helloNacos();
}
